using System;
using WiMo.Games.ZuneHD;
using WiMo.Games.DrawingXNA;
using WiMo.Games.StandardInput;
using WiMo.Games;
using WiMo.Games.StandardPhysics;
using WiMo.Games.StandardCollisions;
using WiMo.Games.StandardMenus;

namespace Collisions
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            var engine = new GameEngine();
            engine.StateManager = new StateManager(engine);
            var targetSize = new Size(240, 320);
            var actualSize = new Size(272, 480);

            engine.Display = new DisplayManager(engine, targetSize, actualSize);
            engine.InputManager = new InputManager(engine.Display);
            engine.PhysicsManager = new PhysicsManager();
            engine.CollisionManager = new CollisionManager(targetSize);
            engine.MenuManager = new MenuManager(engine);

            var game = new Game(engine);
            engine.Initialize(game);

            engine.Start();
        }
    }
}
